export class Player {
  private _direction: number;
  private _score: number;
  private _healthPoint: number;

  constructor(direction: number, score: number, healthPoint: number) {
    this._direction = direction;
    this._score = score;
    this._healthPoint = healthPoint;
  }

  get direction(): number {
    return this._direction;
  }

  set direction(value: number) {
    this._direction = value;
  }

  get score(): number {
    return this._score;
  }

  set score(value: number) {
    this._score = value;
  }

  get healthPoint(): number {
    return this._healthPoint;
  }

  set healthPoint(value: number) {
    this._healthPoint = value;
  }
}
